Rust for Rustaceans: Idiomatic Programming for Experienced Developers

Rust for Rustaceans: Idiomatic Programming for Experienced Developers

  • Downloads:9205
  • Type:Epub+TxT+PDF+Mobi
  • Create Date:2021-10-29 16:16:10
  • Update Date:2025-09-23
  • Status:finish
  • Author:Jon Gjengset
  • ISBN:B0957SWKBS
  • Environment:PC/Android/iPhone/iPad/Kindle

Summary

For developers who’ve mastered the basics, this book is the next step on your way to professional-level programming in Rust。 It covers everything you need to build and maintain larger code bases, write powerful and flexible applications and libraries, and confidently expand the scope and complexity of your projects。

Author Jon Gjengset takes you deep into the Rust programming language, dissecting core topics like ownership, traits, concurrency, and unsafe code。 You’ll explore key concepts like type layout and trait coherence, delve into the inner workings of concurrent programming and asynchrony with async/await, and take a tour of the world of no_std programming。 Gjengset also provides expert guidance on API design, testing strategies, and error handling, and will help develop your understanding of foreign function interfaces, object safety, procedural macros, and much more。

You'll Learn:

How to design reliable, idiomatic, and ergonomic Rust programs based on best principles
Effective use of declarative and procedural macros, and the difference between them
How asynchrony works in Rust – all the way from the Pin and Waker types used in manual implementations of Futures, to how async/await saves you from thinking about most of those words
What it means for code to be unsafe, and best practices for writing and interacting with unsafe functions and traits
How to organize and configure more complex Rust projects so that they integrate nicely with the rest of the ecosystem
How to write Rust code that can interoperate with non-Rust libraries and systems, or run in constrained and embedded environments

Brimming with practical, pragmatic insights that you can immediately apply, Rust for Rustaceans helps you do more with Rust, while also teaching you its underlying mechanisms。

Download

Reviews

Sebastian Gebski

It's probably the only book on Rust for non-beginners (which kinda puts some pressure, doesn't it? ;>)。 Fortunately - it's good, even very good。I'd appreciate more code samples (especially in the initial 40%), nevertheless, it's hard to question that the book contains a lot of valuable knowledge - regarding memory management, macros, async programming, concurrency, etc。Keep in mind that it's not easy to follow - it requires not only Rust expertise, but also a lot of focus and patience。 The autho It's probably the only book on Rust for non-beginners (which kinda puts some pressure, doesn't it? ;>)。 Fortunately - it's good, even very good。I'd appreciate more code samples (especially in the initial 40%), nevertheless, it's hard to question that the book contains a lot of valuable knowledge - regarding memory management, macros, async programming, concurrency, etc。Keep in mind that it's not easy to follow - it requires not only Rust expertise, but also a lot of focus and patience。 The author doesn't use any graphics (diagrams, visualizations, etc。), so there's a lot of text to get through。Few important parting comments:* the book is not intended for any specific scenario (e。g。 embedded) - it's a generic Rust book* don't even reach out for it, if you're not proficient with Rust (or your Rust is rusty) 。。。more

Jon Gjengset

I think it's pretty decent, but I also wrote it so take it with a pinch of salt 😅 I think it's pretty decent, but I also wrote it so take it with a pinch of salt 😅 。。。more